projects
/
openldap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1373791
)
ITS#8554 kFreeBSD is like BSD
author
Howard Chu
<hyc@openldap.org>
Wed, 28 Dec 2016 18:32:14 +0000
(18:32 +0000)
committer
Ryan Tandy
<ryan@nardis.ca>
Mon, 2 Jan 2017 03:47:36 +0000
(
03:47
+0000)
Doesn't have POSIX robust mutexes - GNU userland on BSD kernel
Gbp-Pq: Name ITS-8554-kFreeBSD-is-like-BSD.patch
libraries/liblmdb/mdb.c
patch
|
blob
|
history
diff --git
a/libraries/liblmdb/mdb.c
b/libraries/liblmdb/mdb.c
index d2e81e4e9c541569279bddcee5d97c9a9ef24fb1..629680a83866fe88585d51ef380ff2fa4600c592 100644
(file)
--- a/
libraries/liblmdb/mdb.c
+++ b/
libraries/liblmdb/mdb.c
@@
-115,7
+115,7
@@
typedef SSIZE_T ssize_t;
#include <resolv.h> /* defines BYTE_ORDER on HPUX and Solaris */
#endif
-#if defined(__APPLE__) || defined (BSD)
+#if defined(__APPLE__) || defined (BSD)
|| defined(__FreeBSD_kernel__)
# define MDB_USE_POSIX_SEM 1
# define MDB_FDATASYNC fsync
#elif defined(ANDROID)